package zookeeper.demo2;

/**
 * @date: 2023/11/9 16:18
 */
public class Test2 {
    public static void main(String[] args) throws Exception {
        ZkDiscoveryService zkDiscoveryService = new ZkDiscoveryService();
        zkDiscoveryService.init();
        Thread.sleep(2000);
        zkDiscoveryService.updateValue("到32323");
        Thread.sleep(100000);
    }
}
